# 无序不重复
s = set([1, 2, 3, 4, 4, 5, 6, 100, 210, 211, 8])

print(s)
s = {1, 2, 3, 4, 4, 5, 6, 100, 210, 211, 8}
print(s)

s1 = {1, 2, 3, 4, 5, 6}
s2 = {4, 5, 6, 7, 8, 9}

print(s1 & s2)  # 交集
print(s1 | s2)  # 并集
print(s1 - s2)  # 差集
print(s1 ^ s2)  # 亦或
